@echo off
chcp 65001 >nul
echo 开始运行溢出检测测试...
echo.

cd /d "%~dp0"

java -javaagent:target\overflow-detector-1.0.0.jar ^
     -Doverflow.packages=com.overflow ^
     -cp "src\test\java" ^
     com.overflow.TestOverflow

echo.
echo 测试完成，请查看 overflow-monitor.log
pause
